BoxLang 🚀 A New JVM Dynamic Language Learn More...

cbEventCachingOverride - ColdBox Event Caching Override

v1.1.1 Modules

Event Caching Override Module

This module allows you to set an override for event caching to allow dynamic cache values, like in this module, midnight.

Example

// Cache this event, defaulting to 1440 mins, or 1 day, but we want to have it actually timeout at midnight
function index( event, rc, prc ) cache="true" cacheTimeout="1440" cacheOverrideTimeout="midnight" {
    // stuff goes here
}
  •   Gavin Pickin
  • Published
  • 1.1.1 is the latest of 2 release(s)
    Published
  • Published on {{ getFullDate("2023-03-15T21:35:39Z") }}

$ box install cbEventCachingOverride

No collaborators yet.
     
  • {{ getFullDate("2023-03-15T21:34:43Z") }}
  • {{ getFullDate("2023-03-15T21:35:39Z") }}
  • 921
  • 3,663